header {
  background-color: white;
  width: 88%;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
  height: 100px;
}

header a {
  color: #413f3f;
  font-family: 'Kiwi Maru', serif;
  text-decoration: none;
  margin: 15px 10px;
  padding: 5px 10px;
  display: block;
}

header ul {
  padding: 0;
  margin-top: 0;
}

/* ヘッダー左方ここから */
.header-left {
  float: left;
  padding: 0;
  margin: 0;
}

.header-left img {
  width: 150px;
}


/* ヘッダー左方ここまで */


/* ホバー時の下線アニメーションここから */
.header-right .border a {
  display: inline-block;
  /* これがないとリンク範囲が全幅になる */
  font-size: 17px;
  /* 文字サイズ */
  position: relative;
  /* 相対位置指定 */
  text-decoration: none;
  /* デフォルトのテキストの下線を消す */

}

/* 下線のスタイル */
.header-right .border a::after {
  background-color: #413f3f;
  /* 下線の色 */
  bottom: -1px;
  /* 要素の下端からの距離 */
  content: "";
  /* 要素に内容を追加 */
  height: 2px;
  /* 下線の高さ */
  left: 0;
  /* 要素の左端からの距離 */
  position: absolute;
  /* 絶対位置指定 */
  transform: scale(0, 1);
  /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: center top;
  /* 変形の原点を中央上に指定 */
  transition: transform .3s;
  /* 変形をアニメーション化 */
  width: 100%;
  /* 要素の幅 */
}

/* ヘッダーリンクにホバーした際の下線の表示 */
header .header-right .border a:hover::after {
  transform: scale(1, 1);
  /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
}

/* ホバー時の下線アニメーションここまで */

/* ヘッダー右方　メニューバーここから ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・*/

/* メニューバー全体 */
.header-right {
  float: right;
  margin-top: 17px;
}

/* メインメニュー*/

.header-right ul li {
  list-style: none;
  float: left;
  position: relative;
  /* margin-top: 15px; */
}

/* ホバー時拡大アニメ―ションここから */
.header-right ul li a {
  transition: 0.2s;
  transform: scale(1);
}

.header-right ul li a:hover {
  transform: scale(1.05, 1.05);
  color: #413f3f;
}

/* ホバー時拡大アニメ―ションここまで */

/* サブメニュー全体*/
.header-right ul li ul {
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility .3s;

  position: absolute;
  width: 100%;
  float: none;
  left: 0;
  padding: 0;
}

/* サブメニュー */
.header-right ul li ul li {
  position: relative;
}

/* メインメニューホバー時、サブメニューを表示する */
.header-right ul li:hover ul {
  visibility: visible;
  opacity: 1;
}

/* ふきだしＣＳＳここから */
.dropdown {
  padding: 0;
  margin: 0;
}

.balloon {
  margin: 0;
  padding: 0;
  min-width: 245px;
  color: #413f3f;
  font-size: 16px;
  background: #ebf6f7ee;
  border-radius: 10px;
}

.balloon:before {
  content: "";
  position: absolute;
  top: -30px;
  left: 16%;
  margin-top: 6px;
  /* margin-left: -15px; */
  border: 15px solid transparent;
  border-bottom: 11px solid #ebf6f7ee;

}

.balloon-second {
  margin: 0;
  padding: 0;
  min-width: 176px;
  /* max-width: 100%; */
  color: #555;
  font-size: 16px;
  background: #ebf6f7ee;
  border-radius: 10px;
}

.balloon-second:before {
  content: "";
  position: absolute;
  margin-top: 6px;
  top: -30px;
  left: 20%;
  /* margin-left: -15px; */
  border: 15px solid transparent;
  border-bottom: 11px solid #ebf6f7ee;
}

/* ふきだしＣＳＳここまで */

.English{
  font-weight: bold;
}


/* ヘッダー右方　メニューバーここまで ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・*/

/* 以下ハンバーガーメニュー */

.menu-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;

}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: none;
  height: 3px;
  width: 35px;
  border-radius: 1px;
  background-color: #848485;
  position: absolute;
}

.menu-btn span:before {
  bottom: 8px;
}

.menu-btn span:after {
  top: 8px;
}

#menu-btn-check:checked~.menu-btn span {
  background-color: rgba(255, 255, 255, 0);
  /*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked~.menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

#menu-btn-check {
  display: none;
}

.menu-content {
  padding: 0;
  height: 100vh;
  background-color: rgba(235, 246, 247, 0.9);
  position: fixed;
  top: 0px;
  right: 0px;
  transform: translateX(15%);
  z-index: 20;
  display: none;
}

.menu-content ul {
  padding: 70px 10px 0;
  overflow: auto;
}

.menu-content ul li {
  border-bottom: solid 1px #dcebf1;
  list-style: none;

}

.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #413f3f;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
  font-weight: bold;
}

.menu-content ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #65666e;
  border-right: solid 2px #65666e;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 16px;
}

.menu-content {
  width: 100%;
  height: 100%;
  right: 0px;
  position: fixed;
  top: 0;
  left: 100%;
  /*leftの値を変更してメニューを画面外へ*/
  z-index: 80;
  background-color: #e1f3f5e3;
  transition: all 0.5s;
  /*アニメーション設定*/
}

#menu-btn-check:checked~.menu-content {
  left: 0;
  /*メニューを画面内へ*/
}

@media screen and (max-width: 1390px) {

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    display: block;
  }
.menu-content{
  display: block;
}
  .header-right {
    display: none;
  }

  .menu-content ul li a {
    padding: 0;
    margin: 10px;
  }
}